﻿<%@ page contentType="text/html; charset=UTF-8"%>
<%@ include file="/jsp/common/common.jsp"%>
<head>  
<title>变电运行工区工作任务单</title>
<style type="text/css">  
<!--   
body {   
    font-family:FangSong_GB2312;
    font-size:4pt;
} 
td.small {line-height: 200%}z
-->  
</style>
		<script type="text/javascript" src="<%=contextPath%>/js/validator.js"></script> 
		<script type="text/javascript" src="<%=contextPath%>/ext3/adapter/ext/ext-base.js"></script>
		<script type="text/javascript" src="<%=contextPath%>/ext3/ext-all.js"></script>		
		<script type="text/javascript" src="<%=contextPath%>/js/My97DatePicker/WdatePicker.js"></script>
		<link rel="stylesheet" type="text/css"	href="<%=contextPath%>/ext3/resources/css/ext-all.css">

		<script type="text/javascript" language="javascript">  
			
			Ext.onReady(function(){
				var tb = new Ext.Toolbar({
			   		renderTo: document.all.tbar,
			    	items: [
				        {
				            text: '打印预览',
				            icon:"<%=contextPath%>/images/PrintPreview.gif",
				            handler:function() {
				            	document.getElementById("tbar").style.display ="none";// = "display:none";
				            	webbrowser.ExecWB(7,1);
				            	document.getElementById("tbar").style.display ="";// = "display:none";
				            }
				        }/*,'-',
				        {
				            text: '关闭',
				            icon:"<%=contextPath%>/images/banjie.png",
				            handler:function(){
				            	window.close();
				            }
				        }*/
			    	]
			    });
			});

		 </script>  
	</head>
<body>
		<div id = "tbar" style="position:absolute;display:block left:0px; top:0px; width:100%; height:25px; z-index:1;"></div>
		<br>
		<div id="Layer" style="position:absolute;display:block left:0px; top:25px; width:100%; height:94%; z-index:1000; overflow:false;">
	<form>
		<table width="700" height="30" align="center" border="0" >
			
			<tr>
				<td colspan="4" align="center">
					<font size="5">变电运行工区工作任务单</font>
				</td>
			</tr>
			<tr><td colspan="4" align="right">&nbsp;</td></tr>
			<tr>
				<td align="left">
					值班长：${entity.zbzname}
				</td>
				<td align="left">
					值班员：${entity.zbyname}
				</td>
				<td colspan="2" align="center"><strong>编号：${entity.bh}</strong></td>
			</tr>
		</table>
		<table width="700" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" >
			<tr>
				<td>
					<table width="700" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
						<tr>
							<td style="width:10" align="center">NO.</td>
							<td colspan="2" style="width:710" align="center">工作任务</td>
							<td style="width:90" align="center" nowrap="nowrap">完成情况</td>
			  			<tr>
						<c:forEach items="${GZRWDLIST}" var="detail" varStatus="status">
							<tr>
								<td style="width:10"><center>${status.index + 1}</center></td>
								<td style="width:600" align="left" colspan="2"><c:out value="${detail.rwnr}"/></td>
								<td style="width:100" align="center" nowrap="nowrap">
									是<input type="checkbox" disabled="false"> 否<input type="checkbox" disabled="false">
								</td>
							</tr>
						</c:forEach>  
						<%for (int index=0;index<2;index++) {%>
							<tr height="25">
								<td align="center">&nbsp;</td>
								<td colspan="2" align="center">&nbsp;</td>
								
								<td align="center">&nbsp;</td>
							</tr>
						<%}%>
						</table>
						<table width="700" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
						
						<tr height="70" valign="top"><td colspan="4" style="border-collapse:collapse;">工作任务未完成原因及处理情况：${entity.ycclqk}</td></tr>
						
						<tr >
							<td style="width:10" align="center">NO.</td>
							<td colspan="3" style="width:690" align="center">工作任务风险点告知</td>
			  			<tr>
						<c:forEach items="${FXGZLIST}" var="detail" varStatus="status">
							<tr>
								<td style="width:10"><center>${status.index + 1}</center></td>
								<td style="width:690" colspan="3" align="left"><c:out value="${detail.fxgznr}"/></td>
							</tr>
						</c:forEach>
<%for (int index=0;index<2;index++) {%>
							<tr height="25">
								<td style="width:10" align="center">&nbsp;</td>
								<td colspan="3" align="center">&nbsp;</td>
								
							</tr>
						<%}%>
</table>
                    <table width="700" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
						
			  			<tr height="30"><td colspan="4">告知人：${entity.gzr} 
			  				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			  				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			  				被告知人：${entity.bgzr}</td>
			  				
			  			</tr></table>

			  			
			 <table width="700" align="center" border="1" bordercolor="#000000" cellspacing="0" cellpadding="0" style="border-collapse:collapse;">
			
						<tr>
							<td style="width:10%" rowspan="2"><center>派车人<br>确认</center></td>
							<td width="28%" >派车时间：<fmt:formatDate value="${entity.pcsj}" pattern="HH:mm"/></td>
							<td width="34%" >车型车号：${entity.cxch}</td>
							<td width="28%" >总行驶里程：</td>
						</tr>

						<tr>
							<td>还车时间：</td>
							<td >驾驶员签字：</td>
							<td>派车人签字：</td>
						</tr>
						<tr>
							<th style="width:10%"><center>乘车人<br>确认</center></th>
							<td>实际发车时间：</td>
							<td>起始表码：</td>
							<td>驾驶员签字：</td>
						</tr>     
						<tr>
							<td align="center" >时间</td>
							<td align="center">到站（队）表码</td>
							<td align="center">行驶里程</td>
							<td align="center">乘车人签字</td>
						</tr>
						
						<%for (int index=0;index<7;index++) {%>
							<tr height="25">
								<td align="center">&nbsp;</td>
								<td align="center">&nbsp;</td>
								<td align="center">&nbsp;</td>
								<td align="center">&nbsp;</td>
							</tr>
						<%}%>
						
							<!--
						<c:forEach items="${xcjlList}" var="xcjlDetail" >
							<tr>
								<td align="center"><fmt:formatDate value="${xcjlDetail.ddsj}" pattern="yyyy-MM-dd HH:mm"/></td>
								<td align="center"><c:out value="${xcjlDetail.bdzname}"/></td>
								<td align="center"><c:out value="${xcjlDetail.xslc}"/></td>
								<td align="center"><c:out value="${xcjlDetail.ccrqz}"/></td>
							</tr>
						</c:forEach>   
						
						-->    
			  		</table>
  				</td>
  			</tr>
  		  </table>
  </form>
  </div>
</body>
<object id="webbrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0"  width="0"></object>
</html>

